package com.xy.modular.basics.entity.user;

import com.xy.framework.base.entity.Entity;
import com.xy.modular.basics.entity.user.UserAuthLocal;

import java.util.Date;

/**
 * 用户信息
 * 
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
public class User extends Entity {
	public static final String REALNAME = "basics_user.real_Name";
	public static final String NAME = "basics_user.name";
	public static final String MOBILE = "basics_user.mobile";
	
	public String name;
	public Date birthday;
	public String avatar;
	public String realName;
	public String userType;
	public String mobile;
	public String sex;
	public Date joinDate;

	private UserAuthLocal userAuthLocal;
	public String mainDepName;
	public String subDepName;
	public String subDepIds;
	public String mainDepIds;

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getJoinDate() {
		return joinDate;
	}

	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getMainDepName() {
		return mainDepName;
	}

	public void setMainDepName(String mainDepName) {
		this.mainDepName = mainDepName;
	}

	public String getSubDepName() {
		return subDepName;
	}

	public void setSubDepName(String subDepName) {
		this.subDepName = subDepName;
	}

	public String getSubDepIds() {
		return subDepIds;
	}

	public void setSubDepIds(String subDepIds) {
		this.subDepIds = subDepIds;
	}

	public String getMainDepIds() {
		return mainDepIds;
	}

	public void setMainDepIds(String mainDepIds) {
		this.mainDepIds = mainDepIds;
	}

	public UserAuthLocal getUserAuthLocal() {
		return userAuthLocal;
	}

	public void setUserAuthLocal(UserAuthLocal userAuthLocal) {
		this.userAuthLocal = userAuthLocal;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public User() {
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
}
